TRGPOL=0, GTBSYNC=0, CSOT=0, CROT=0, GTBEEN=0, CSOO=0, DBGMODE=00, DOZEEN=0, TRGSRC=0
Configuration
DOZEEN | Doze Enable 0 (0): Internal TPM counter continues in Doze mode. 1 (1): Internal TPM counter is paused and does not increment during Doze mode. Trigger inputs and input capture events are also ignored. |
DBGMODE | Debug Mode 0 (00): TPM counter is paused and does not increment during debug mode. Trigger inputs and input capture events are also ignored. 3 (11): TPM counter continues in debug mode. |
GTBSYNC | Global Time Base Synchronization 0 (0): Global timebase synchronization disabled. 1 (1): Global timebase synchronization enabled. |
GTBEEN | Global time base enable 0 (0): All channels use the internally generated TPM counter as their timebase 1 (1): All channels use an externally generated global timebase as their timebase |
CSOT | Counter Start on Trigger 0 (0): TPM counter starts to increment immediately, once it is enabled. 1 (1): TPM counter only starts to increment when it a rising edge on the selected input trigger is detected, after it has been enabled or after it has stopped due to overflow. |
CSOO | Counter Stop On Overflow 0 (0): TPM counter continues incrementing or decrementing after overflow 1 (1): TPM counter stops incrementing or decrementing after overflow. |
CROT | Counter Reload On Trigger 0 (0): Counter is not reloaded due to a rising edge on the selected input trigger 1 (1): Counter is reloaded when a rising edge is detected on the selected input trigger |
CPOT | Counter Pause On Trigger |
TRGPOL | Trigger Polarity 0 (0): Trigger is active high. 1 (1): Trigger is active low. |
TRGSRC | Trigger Source 0 (0): Trigger source selected by TRGSEL is external. 1 (1): Trigger source selected by TRGSEL is internal (channel pin input capture). |
TRGSEL | Trigger Select 1 (0001): Channel 0 pin input capture 2 (0010): Channel 1 pin input capture 3 (0011): Channel 0 or Channel 1 pin input capture |